package com.jy.appmarket.screenlock.receiver;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

import com.jy.appmarket.screenlock.service.LockerService;

/**
 * 类说明：
 * 
 * @author jie.li
 * @date 2015-3-16
 * @version 1.0
 */
public class StartServiceReceiver extends BroadcastReceiver {

	@Override
	public void onReceive(Context context, Intent intent) {
		if (!LockerService.isServiceRunning(context)) {
			LockerService.startService(context);
		}
	}

}
